package com.simtop.mapper;

import com.simtop.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname SqLabelMapper
 * @Description TODO
 * @Date 2021/12/30 9:27
 * @Created by lzb
 */
@Mapper
public interface SqLabelMapper {

    /*
    *
     *功能描述 找到顶级父类id
     * @author lzb
     * @date 2021/12/30
     * @param
     * @return
     */
     List<SqLabel> girFirstLabel();

     boolean createLabel(SqLabel sqLabel);

     List<SqLabel> girChiledLabel(Integer chedaid);

     boolean savefilter(@Param("retainedInformation") String data);

     List<FirstLabelVo> gitFirstLabelVo();

     List<CheadVo> gitCheadVo(@Param("parentid") List<Integer> parentid);


     SqLabel clickOnTheTagAnalysisPageOne(@Param("labelname") String labelname);

     SqLabel clickOnTheTagAnalysisPageTwo(@Param("labelname") String labelname);

    List<CheadVo> gitcheadname(@Param("labname") String labname);

    SqLabel getparentId(@Param("cheadid") int parentId);

}
